﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CustomerEvents.ascx.cs" Inherits="Customer_CustomerEvents" %>
<script language="javascript" type="text/javascript">
function openDialog(url)
{
    if(window.parent && window.parent.document && window.parent.document.openDialog)
    {
        window.parent.document.openDialog(url, "添加客户记事", callBack, 500, 400);
    }
}

function callBack(type, key, value)
{
     if(fm.qType.value==1){
     }
     else{
     }
     //
     $("div.divMain").html("abcdefg hijkl");
}
</script>

<div class="divHeader">
客户来往记事
<a href="#" style="float:right;">&nbsp;管理</a>
<a href="#" style="float:right;" title="快速添加客户来往记事" onclick="javascript:openDialog('Events/EditEventDlg.aspx');">
    <img src="../images/add.jpg" />&nbsp;添加</a>
</div>
<div class="divMain">
无记事
</div>
